Bugfixes & improvements on Login module / user authorization