cleaner UI
fixed indentation
show an error upon authentication failures