login system updated, page rendering updated