php auth working, cart unfinished