Added backend for Registration and Login