Added option for loguin with email and password