Added additional error checking

As well as toasts to inform users of their errors. Also made some notes
as to where additional elements could be added, such as back/logout
buttons.