login works. debug rest tomorrow