Revert "Improved login page"

This reverts commit 69000d6e784208d7f813d2869ee0a72add76f6f4.
Revert "Revert "Improved login page""

This reverts commit de3907dab3b01948f15c346bf6e7cb5f35fe47d8.
Fixed crash