made changes to some ids for the login area

also added functions that call the api