Added login authentication using MongoDB(tested with no user, not with user yet)