Fix MissingTemplate error

MissingTemplate error was coming from Rails' need to render something. Fixed this problem by updating the users controller to check for a blank "emails" array. Blank checks if a variable is nil OR empty. 
Use the new Ruby 1.9 hash syntax.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.