Restored login actions and changed premissions to load_file action