Fixed flash messages and users routing