Memory leak fixes, login file restructuring and bug fix with loading images in tableview.