login now works... still needs to be cleaned up