Add login button to layout and fix issue with login attempt with non-existent username