Added feature to fetch and display user’s profile picture at the dashboard; Moved logout button to the settings tab; moved the login logic as a global function.