Login and register features completed