Configuring Login page and controller