Added Authentication conditionals to UserRestController