Feature/authentication ui

@timvancleef I think we should go with something like this answer from stackoverflow:

http://stackoverflow.com/a/11195538 (the first approach)