-added login and register(not to database yet, but its sends it to server already)