this should work right now. Still only for login but it doesn't :/

Signed-off-by: Johannes Tandler <jakefoly@gmail.com>