back end finished! added loginchecker