Hide login when it was successfull
Removed local-warning
fix docchooser buttons