Added user login functionality and did paypal integration, fix the issues in user registration