Login page remake. Fixed index with empty user error