Added some code for registration. Hope to get it to go from Register straight to Main menu after Register Success.
Still need register function to return true/false to make that work