Add Device functionality - login, edit, logout