Better Code For Login View