Login activity changes
- added more functionality
- tested the sql database