changed alignment of table-fields and redirected the user to the dashboard after a successful login.