submit handling for non logged users

+ routing hook
+ 502 template
show loading screen while waiting to login