Adding dropdown login functionality