public static Employee createEmployee(String username, String firstname,
String lastname, String email, Position p)
throws PermissionDeniedException {
// Check permissions
if (!UserContainer.getUser().hasPermission("create_employee")) {
throw new PermissionDeniedException();
}
ResourceBundle rb = ResourceBundle.getBundle(
"FieldTitles", Locale.getDefault());