fix views and focus user on login