Add user signin validations and cookies