changed redirect and mobile view for login buttons