Login objects rewrite