Implemented proper signin using passport local strategy