Fixed login and displays information from the database on angular